<?php
	$server->wsdl->addComplexType(
		'WSStatus',
		'complexType',
		'struct',
		'all',
		'',
		array(
			'Code' => array('name'=>'code','type'=>'xsd:string'),
			'Desc' => array('name'=>'desc','type'=>'xsd:string')
		)
	);
	$server->wsdl->addComplexType(
		'WSSysDateTime',
		'complexType',
		'struct',
		'all',
		'',
		array(
			'SysDate' => array('name'=>'sysdate','type'=>'xsd:string'),
			'SysTime' => array('name'=>'systime','type'=>'xsd:string')
		)
	);
	
	/*Struct -> CUParkData*/
	$server->wsdl->addComplexType(
		'CUParkData',
		'complexType',
		'struct',
		'all',
		'',
		array(
			'UserId' => array('name'=>'userid','type'=>'xsd:string'),
			'UserFName' => array('name'=>'userfname','type'=>'xsd:string'),
			'UserLName' => array('name'=>'userlname','type'=>'xsd:string'),
			'UserEmail' => array('name'=>'useremail','type'=>'xsd:string'),
			'StepDtm' => array('name'=>'stepdtm','type'=>'xsd:string'),
			'StepCount' => array('name'=>'stepcount','type'=>'xsd:string')
		)
	);
	/*Array<CUParkData> -> CUParkDataArray*/
	$server->wsdl->addComplexType(
		'CUParkDataArray',
		'complexType',
		'array',
		'',
		'SOAP-ENC:Array',
		array(),
		array(
			array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:CUParkData[]')
		),
		'tns:CUParkData'
	);
	
	/*Struct -> CUUserMail*/
	$server->wsdl->addComplexType(
		'CUUserMail',
		'complexType',
		'struct',
		'all',
		'',
		array(
			'UserEmail' => array('name'=>'useremail','type'=>'xsd:string')
		)
	);
	
	/*Array<CUParkData> -> CUUserMailArray*/
	$server->wsdl->addComplexType(
		'CUUserMailArray',
		'complexType',
		'array',
		'',
		'SOAP-ENC:Array',
		array(),
		array(
			array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:CUUserMail[]')
		),
		'tns:CUUserMail'
	);
?>